package com.pap.rocketmq.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Data
@Component
public class RocketMQConfig {

    // MQ 路径
    @Value("${pap.namesrvaddr:192.168.7.39:9876}")
    private String papRocketMQNameSrvAddr;

    // MQ topic mq-topic
    @Value("${pap.topic.mqTopic:mq-topic}")
    private String papTopicMQTopic;

    // MQ topic mq-topic
    @Value("${pap.topic.mqTopic.group:mq-group}")
    private String papTopicMQTopicGroup;

    // MQ topic mq-topic
    @Value("${pap.topic.mqTopic.tag:test}")
    private String papTopicMQTopictag;

}
